﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctlDefaultFilterPanel.ascx.cs" Inherits="Ctl_ctlDefaultFilterPanel" %>
<%@ Register Assembly="UIControls" Namespace="UIControls" TagPrefix="cc2" %>
<%@ Register   Namespace="Grishko.UI"    TagPrefix="uc2" %>
<%@ Register assembly="UIControls" namespace="Grishko.UIControls" tagprefix="cc1" %>
<%@ Register src="ctlFilterEditor.ascx" tagname="ctlFilterEditor" tagprefix="uc1" %>

<asp:UpdatePanel ID="updFilter" UpdateMode="Conditional"  runat="server">
<ContentTemplate >
     <table width="100%" cellpadding ="2" cellspacing ="0">
        <tr  class ="TblCaption">          
            <td style="width :20px" class ="grd_td_item">           
                <asp:ImageButton ID="btnShowFilter" ImageUrl ="~/images/grd_plus.gif"  
                    runat="server" onclick="btnShowFilter_Click"  />                
            </td>                                                  
             <td class ="grd_td_item">
                <uc2:FilterPanel ID="FilterPanel1" runat ="server" 
                AddImageUrl="~/images/add.png"  
                DeleteImageUrl="~/images/icon-delete.gif"
                EditImageUrl= "~/images/icon-edit.gif"  />
             </td>               
            <td style ="width :250px" class ="grd_td_item">
                <table style ="width :100%" cellpadding ="0" cellspacing ="0" >
                    <tr >
                        <td style ="text-align :right " >
                            &nbsp                            
                        </td> 
                        <td style ="width :5px">
                        </td>                       
                        <td style ="width:20px"  >                        
                            <asp:ImageButton ID="btnFind"  ImageUrl ="~/images/search_button.gif" 
                                runat="server" OnClientClick ="skm_LockScreen();" onclick="btnFind_Click" style="height: 12px"  />
                        </td>
                        <td style ="width :150px" >  
                        <%--    <cc2:TextBox_PostBack ID="txtLexeme" runat="server" onkeydownenter="TextBox_PostBack1_KeyDownEnter"></cc2:TextBox_PostBack>--%>
                            <asp:TextBox ID="txtLexeme" runat="server"></asp:TextBox>
                        
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
         
   </table>
   
     <asp:Panel ID="pnlEditFilter" Visible =<%# ShowEditor %>  CssClass ="EditRowBackGround"  Width ="100%" runat="server">
         <uc1:ctlFilterEditor ID="ctlFilterEditor1" runat="server" />
    </asp:Panel>  
</ContentTemplate>
</asp:UpdatePanel> 

